package com.prize;


import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@ServletComponentScan
@EnableDiscoveryClient
@MapperScan("com.prize.mapper")
public class MemberBootstrap {

    private static final Logger logger = LoggerFactory.getLogger(MemberBootstrap.class);

    public static void main(String[] args) {
        SpringApplication.run(MemberBootstrap.class, args);
        logger.info("\"(ヾ(◍°∇°◍)ﾉﾞ  会员服务启动成功！     ヾ(◍°∇°◍)ﾉﾞ\"");
    }
}
